<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDPNET: SSDPNET::WindowFuncs类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDPNET<span id="projectnumber">&#160;1.0</span>
   </div>
   <div id="projectbrief">.NET SDK</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="namespaces.html"><span>包</span></a></li>
      <li class="current"><a href="annotated.html"><span>类</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>类列表</span></a></li>
      <li><a href="classes.html"><span>类索引</span></a></li>
      <li><a href="inherits.html"><span>类继承关系</span></a></li>
      <li><a href="functions.html"><span>类成员</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_s_d_p_n_e_t.html">SSDPNET</a></li><li class="navelem"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html">WindowFuncs</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="class_s_s_d_p_n_e_t_1_1_window_funcs-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">SSDPNET::WindowFuncs类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>窗体相关操作  
 <a href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:ae2acfebc60d8dcb8100135fd23648230"><td class="memItemLeft" align="right" valign="top">static ATEC::ATDataCoreNET::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#ae2acfebc60d8dcb8100135fd23648230">WindowContentRectGetLocal</a> (<a class="el" href="struct_s_s_d_p_n_e_t_1_1_rect.html">SSDPNET::Rect</a> contentRectP, int viewNum)</td></tr>
<tr class="memdesc:ae2acfebc60d8dcb8100135fd23648230"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 以窗体局部坐标的方式获取窗体内容矩形, 每个窗体有一个内容和全局矩形。内容矩形是窗体内容绘制的部分，而全局矩形包括内容矩形、边框和标题栏。 </p><dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt 成功时返回SUCCESS </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">contentRectP</td><td>局部坐标下的内容矩形 </td></tr>
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12  <br /></td></tr>
<tr class="separator:ae2acfebc60d8dcb8100135fd23648230"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6c566cc65f2ee13dab93ceb051c0b8a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#aa6c566cc65f2ee13dab93ceb051c0b8a">WindowExtentSet</a> (int viewNum, int newWidth, int newHeight)</td></tr>
<tr class="memdesc:aa6c566cc65f2ee13dab93ceb051c0b8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 调整窗体的大小 一般来说，通过移动右下角点来调整窗体的大小；但是如果DIALOGATTR_RESIZESINWARD属性被使用时，将通过移动合适的角点来改变窗体的大小 </p><dl class="section return"><dt>返回</dt><dd>void </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
    <tr><td class="paramname">newWidth</td><td>新宽度 </td></tr>
    <tr><td class="paramname">newHeight</td><td>新高度 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12  <br /></td></tr>
<tr class="separator:aa6c566cc65f2ee13dab93ceb051c0b8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad742cbfd653555e92b09e628ea5cd005"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#ad742cbfd653555e92b09e628ea5cd005">WindowGetSelectedViewIndex</a> ()</td></tr>
<tr class="memdesc:ad742cbfd653555e92b09e628ea5cd005"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 获取当前选择的视口窗体的索引（索引从0开始） 点击窗体的标题栏或者在视口窗体内输入数据点或试验点将选中该窗体 </p><dl class="section return"><dt>返回</dt><dd>int 视口索引（索引从0开始） </dd></dl>
<p>SZEWEC 2023/04/12  <br /></td></tr>
<tr class="separator:ad742cbfd653555e92b09e628ea5cd005"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88a47dcbb11faa3537e39bedba05ba85"><td class="memItemLeft" align="right" valign="top">static ATEC::ATDataCoreNET::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#a88a47dcbb11faa3537e39bedba05ba85">WindowGlobalRectGetGlobal</a> (<a class="el" href="struct_s_s_d_p_n_e_t_1_1_rect.html">SSDPNET::Rect</a> rP, int viewNum)</td></tr>
<tr class="memdesc:a88a47dcbb11faa3537e39bedba05ba85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 获取全局坐标表示的窗体全局矩形 每个窗体有一个内容和全局矩形。内容矩形是窗体内容绘制的部分，而全局矩形包括内容矩形、边框和标题栏。 </p><dl class="section return"><dt>返回</dt><dd>成功时返回SUCCESS </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">rP</td><td>窗体全局矩形 </td></tr>
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12  <br /></td></tr>
<tr class="separator:a88a47dcbb11faa3537e39bedba05ba85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9282e0b8a24615119cc54becbc3b133"><td class="memItemLeft" align="right" valign="top">static ATEC::ATDataCoreNET::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#ab9282e0b8a24615119cc54becbc3b133">WindowHide</a> (int viewNum, <a class="el" href="namespace_s_s_d_p_n_e_t.html#ab977f0cc4155d7c7550861bc6c912216">SSDPNET::HideReasonCode</a> reasonCode, bool bypassFocusOut)</td></tr>
<tr class="memdesc:ab9282e0b8a24615119cc54becbc3b133"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 临时隐藏一个窗体 WindowShow用于显示一个窗体；WindowClose将关闭并重分配一个窗体，窗体windowP将无效 </p><dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt 成功时返回SUCCESS </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
    <tr><td class="paramname">reasonCode</td><td>关闭的原因 </td></tr>
    <tr><td class="paramname">false</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12  <br /></td></tr>
<tr class="separator:ab9282e0b8a24615119cc54becbc3b133"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2949a39aaa998859b63f548ac1491cd"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#ae2949a39aaa998859b63f548ac1491cd">WindowIsVisible</a> (int viewNum)</td></tr>
<tr class="memdesc:ae2949a39aaa998859b63f548ac1491cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 检查一个窗体是否可见  <br /></td></tr>
<tr class="separator:ae2949a39aaa998859b63f548ac1491cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ed0f4699fae2e0effdb231b715a0fc5"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#a2ed0f4699fae2e0effdb231b715a0fc5">WindowIsDisplayed</a> (int viewNum)</td></tr>
<tr class="memdesc:a2ed0f4699fae2e0effdb231b715a0fc5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 检查一个窗体是否正在显示 当一个窗体被创建但是从未显示过或者被显示过但是现在被隐藏了而且未被销毁时，该窗体并未显示 </p><dl class="section return"><dt>返回</dt><dd>bool 是否正在显示 </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12  <br /></td></tr>
<tr class="separator:a2ed0f4699fae2e0effdb231b715a0fc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a9d4a4f8a72ce3619f04933d9fce0e2"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#a5a9d4a4f8a72ce3619f04933d9fce0e2">WindowIsMaximized</a> (int viewNum)</td></tr>
<tr class="memdesc:a5a9d4a4f8a72ce3619f04933d9fce0e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 窗体是否已最大化  <br /></td></tr>
<tr class="separator:a5a9d4a4f8a72ce3619f04933d9fce0e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d38676f9c4aaa888f26b008a8b30155"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#a1d38676f9c4aaa888f26b008a8b30155">WindowMaximize</a> (int viewNum)</td></tr>
<tr class="memdesc:a1d38676f9c4aaa888f26b008a8b30155"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 将窗体最大化  <br /></td></tr>
<tr class="separator:a1d38676f9c4aaa888f26b008a8b30155"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab94a84509e7619ea6b3f3f56f12edd54"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#ab94a84509e7619ea6b3f3f56f12edd54">WindowGlobalPointToScreen</a> (out ATEC::GeometryNET::Point2d screenPtP, int viewNum, ATEC::GeometryNET::Point2d globalPtP)</td></tr>
<tr class="memdesc:ab94a84509e7619ea6b3f3f56f12edd54"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc: 将全局坐标系下的一个点转化为给定窗体的屏幕坐标 当globalPtP为NULL，转换为原地转换，即screenPtP既是输入也是输出 </p><dl class="section return"><dt>返回</dt><dd>void </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">screenPtP</td><td>屏幕坐标 </td></tr>
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
    <tr><td class="paramname">globalPtP</td><td>全局坐标 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12  <br /></td></tr>
<tr class="separator:ab94a84509e7619ea6b3f3f56f12edd54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadf045db32a56480ba4e12d2a88599b4"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#aadf045db32a56480ba4e12d2a88599b4">WindowIsGlobalPointConversionRequired</a> (int screenNum)</td></tr>
<tr class="memdesc:aadf045db32a56480ba4e12d2a88599b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 当Ribbon界面存在时，为了正确的定位弹出窗的位置，全局坐标需要一个考虑Ribbon高度的转换，该接口用于判断是否需要该转换  <br /></td></tr>
<tr class="separator:aadf045db32a56480ba4e12d2a88599b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad26e7ed67a4cef6b4a035a65ed6f550f"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#ad26e7ed67a4cef6b4a035a65ed6f550f">WindowGlobalPointConversionIncrease</a> (out ATEC::GeometryNET::Point2d newGlobalPtP, int viewNum, ATEC::GeometryNET::Point2d oldGlobalPtP)</td></tr>
<tr class="memdesc:ad26e7ed67a4cef6b4a035a65ed6f550f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc: 当Ribbon界面存在时，为了正确的定位弹出窗的位置，全局坐标需要一个考虑Ribbon高度的转换，该接口用于将全局点考虑Ribbon高度进行一个转换  <br /></td></tr>
<tr class="separator:ad26e7ed67a4cef6b4a035a65ed6f550f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad00b678f1534326018b697c3ab10210f"><td class="memItemLeft" align="right" valign="top">static ATEC::ATDataCoreNET::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#ad00b678f1534326018b697c3ab10210f">WindowResize</a> (int viewNum, <a class="el" href="namespace_s_s_d_p_n_e_t.html#a7e0a4f5ba710a5c0aeca7bcfc1b1759f">SSDPNET::ConerKind</a> cornerNum, ATEC::GeometryNET::Point2d newPositionP)</td></tr>
<tr class="memdesc:ad00b678f1534326018b697c3ab10210f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 调整给点给窗体的大小  <br /></td></tr>
<tr class="separator:ad00b678f1534326018b697c3ab10210f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94b3621b55285394cd7fa1f2ef06ff3f"><td class="memItemLeft" align="right" valign="top">static ATEC::ATDataCoreNET::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#a94b3621b55285394cd7fa1f2ef06ff3f">WindowSetSystemCursor</a> (<a class="el" href="namespace_s_s_d_p_n_e_t.html#a3aa944ae10fd232cab18a417e4aaf5af">SSDPNET::SYSTEMCURSOR</a> systemCursor)</td></tr>
<tr class="memdesc:a94b3621b55285394cd7fa1f2ef06ff3f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 将鼠标光标设置为SYSTEMCURSOR枚举中定义的某一系统光标  <br /></td></tr>
<tr class="separator:a94b3621b55285394cd7fa1f2ef06ff3f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00eb3187e6f5dbe99729db1e5b752ff9"><td class="memItemLeft" align="right" valign="top">static ATEC::ATDataCoreNET::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#a00eb3187e6f5dbe99729db1e5b752ff9">WindowShow</a> (int viewNum, bool noInitialUpdate)</td></tr>
<tr class="memdesc:a00eb3187e6f5dbe99729db1e5b752ff9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 显示窗体  <br /></td></tr>
<tr class="separator:a00eb3187e6f5dbe99729db1e5b752ff9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1c82c8be63e65feb9828c578195722b"><td class="memItemLeft" align="right" valign="top">static ATEC::ATDataCoreNET::StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_s_d_p_n_e_t_1_1_window_funcs.html#ad1c82c8be63e65feb9828c578195722b">WindowToFront</a> (int viewNum)</td></tr>
<tr class="memdesc:ad1c82c8be63e65feb9828c578195722b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Desc： 将窗体置于最前端  <br /></td></tr>
<tr class="separator:ad1c82c8be63e65feb9828c578195722b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>窗体相关操作 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ae2acfebc60d8dcb8100135fd23648230" name="ae2acfebc60d8dcb8100135fd23648230"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2acfebc60d8dcb8100135fd23648230">&#9670;&#160;</a></span>WindowContentRectGetLocal()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATEC::ATDataCoreNET::StatusInt SSDPNET::WindowFuncs::WindowContentRectGetLocal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_s_s_d_p_n_e_t_1_1_rect.html">SSDPNET::Rect</a>&#160;</td>
          <td class="paramname"><em>contentRectP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 以窗体局部坐标的方式获取窗体内容矩形, 每个窗体有一个内容和全局矩形。内容矩形是窗体内容绘制的部分，而全局矩形包括内容矩形、边框和标题栏。 </p><dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt 成功时返回SUCCESS </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">contentRectP</td><td>局部坐标下的内容矩形 </td></tr>
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="aa6c566cc65f2ee13dab93ceb051c0b8a" name="aa6c566cc65f2ee13dab93ceb051c0b8a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6c566cc65f2ee13dab93ceb051c0b8a">&#9670;&#160;</a></span>WindowExtentSet()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SSDPNET::WindowFuncs::WindowExtentSet </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>newWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>newHeight</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 调整窗体的大小 一般来说，通过移动右下角点来调整窗体的大小；但是如果DIALOGATTR_RESIZESINWARD属性被使用时，将通过移动合适的角点来改变窗体的大小 </p><dl class="section return"><dt>返回</dt><dd>void </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
    <tr><td class="paramname">newWidth</td><td>新宽度 </td></tr>
    <tr><td class="paramname">newHeight</td><td>新高度 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="ad742cbfd653555e92b09e628ea5cd005" name="ad742cbfd653555e92b09e628ea5cd005"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad742cbfd653555e92b09e628ea5cd005">&#9670;&#160;</a></span>WindowGetSelectedViewIndex()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int SSDPNET::WindowFuncs::WindowGetSelectedViewIndex </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 获取当前选择的视口窗体的索引（索引从0开始） 点击窗体的标题栏或者在视口窗体内输入数据点或试验点将选中该窗体 </p><dl class="section return"><dt>返回</dt><dd>int 视口索引（索引从0开始） </dd></dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="ad26e7ed67a4cef6b4a035a65ed6f550f" name="ad26e7ed67a4cef6b4a035a65ed6f550f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad26e7ed67a4cef6b4a035a65ed6f550f">&#9670;&#160;</a></span>WindowGlobalPointConversionIncrease()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SSDPNET::WindowFuncs::WindowGlobalPointConversionIncrease </td>
          <td>(</td>
          <td class="paramtype">out ATEC::GeometryNET::Point2d&#160;</td>
          <td class="paramname"><em>newGlobalPtP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC::GeometryNET::Point2d&#160;</td>
          <td class="paramname"><em>oldGlobalPtP</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc: 当Ribbon界面存在时，为了正确的定位弹出窗的位置，全局坐标需要一个考虑Ribbon高度的转换，该接口用于将全局点考虑Ribbon高度进行一个转换 </p>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">newGlobalPtP</td><td>更新后的全局坐标点 </td></tr>
    <tr><td class="paramname">viewNum</td><td>坐标点关联的窗体 </td></tr>
    <tr><td class="paramname">newGlobalPtP</td><td>进行原地更新 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="ab94a84509e7619ea6b3f3f56f12edd54" name="ab94a84509e7619ea6b3f3f56f12edd54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab94a84509e7619ea6b3f3f56f12edd54">&#9670;&#160;</a></span>WindowGlobalPointToScreen()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SSDPNET::WindowFuncs::WindowGlobalPointToScreen </td>
          <td>(</td>
          <td class="paramtype">out ATEC::GeometryNET::Point2d&#160;</td>
          <td class="paramname"><em>screenPtP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC::GeometryNET::Point2d&#160;</td>
          <td class="paramname"><em>globalPtP</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc: 将全局坐标系下的一个点转化为给定窗体的屏幕坐标 当globalPtP为NULL，转换为原地转换，即screenPtP既是输入也是输出 </p><dl class="section return"><dt>返回</dt><dd>void </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">screenPtP</td><td>屏幕坐标 </td></tr>
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
    <tr><td class="paramname">globalPtP</td><td>全局坐标 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="a88a47dcbb11faa3537e39bedba05ba85" name="a88a47dcbb11faa3537e39bedba05ba85"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88a47dcbb11faa3537e39bedba05ba85">&#9670;&#160;</a></span>WindowGlobalRectGetGlobal()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATEC::ATDataCoreNET::StatusInt SSDPNET::WindowFuncs::WindowGlobalRectGetGlobal </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_s_s_d_p_n_e_t_1_1_rect.html">SSDPNET::Rect</a>&#160;</td>
          <td class="paramname"><em>rP</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 获取全局坐标表示的窗体全局矩形 每个窗体有一个内容和全局矩形。内容矩形是窗体内容绘制的部分，而全局矩形包括内容矩形、边框和标题栏。 </p><dl class="section return"><dt>返回</dt><dd>成功时返回SUCCESS </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">rP</td><td>窗体全局矩形 </td></tr>
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="ab9282e0b8a24615119cc54becbc3b133" name="ab9282e0b8a24615119cc54becbc3b133"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9282e0b8a24615119cc54becbc3b133">&#9670;&#160;</a></span>WindowHide()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATEC::ATDataCoreNET::StatusInt SSDPNET::WindowFuncs::WindowHide </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_s_s_d_p_n_e_t.html#ab977f0cc4155d7c7550861bc6c912216">SSDPNET::HideReasonCode</a>&#160;</td>
          <td class="paramname"><em>reasonCode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bypassFocusOut</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 临时隐藏一个窗体 WindowShow用于显示一个窗体；WindowClose将关闭并重分配一个窗体，窗体windowP将无效 </p><dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt 成功时返回SUCCESS </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
    <tr><td class="paramname">reasonCode</td><td>关闭的原因 </td></tr>
    <tr><td class="paramname">false</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="a2ed0f4699fae2e0effdb231b715a0fc5" name="a2ed0f4699fae2e0effdb231b715a0fc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ed0f4699fae2e0effdb231b715a0fc5">&#9670;&#160;</a></span>WindowIsDisplayed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SSDPNET::WindowFuncs::WindowIsDisplayed </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 检查一个窗体是否正在显示 当一个窗体被创建但是从未显示过或者被显示过但是现在被隐藏了而且未被销毁时，该窗体并未显示 </p><dl class="section return"><dt>返回</dt><dd>bool 是否正在显示 </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="aadf045db32a56480ba4e12d2a88599b4" name="aadf045db32a56480ba4e12d2a88599b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aadf045db32a56480ba4e12d2a88599b4">&#9670;&#160;</a></span>WindowIsGlobalPointConversionRequired()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SSDPNET::WindowFuncs::WindowIsGlobalPointConversionRequired </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>screenNum</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 当Ribbon界面存在时，为了正确的定位弹出窗的位置，全局坐标需要一个考虑Ribbon高度的转换，该接口用于判断是否需要该转换 </p>
<dl class="section return"><dt>返回</dt><dd>bool 是否需要变换 </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">screenNum</td><td>窗体编号 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="a5a9d4a4f8a72ce3619f04933d9fce0e2" name="a5a9d4a4f8a72ce3619f04933d9fce0e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a9d4a4f8a72ce3619f04933d9fce0e2">&#9670;&#160;</a></span>WindowIsMaximized()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SSDPNET::WindowFuncs::WindowIsMaximized </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 窗体是否已最大化 </p>
<dl class="section return"><dt>返回</dt><dd>bool 是否已最大化 </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="ae2949a39aaa998859b63f548ac1491cd" name="ae2949a39aaa998859b63f548ac1491cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2949a39aaa998859b63f548ac1491cd">&#9670;&#160;</a></span>WindowIsVisible()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool SSDPNET::WindowFuncs::WindowIsVisible </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 检查一个窗体是否可见 </p>
<dl class="section return"><dt>返回</dt><dd>bool 是否可见 </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="a1d38676f9c4aaa888f26b008a8b30155" name="a1d38676f9c4aaa888f26b008a8b30155"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d38676f9c4aaa888f26b008a8b30155">&#9670;&#160;</a></span>WindowMaximize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int SSDPNET::WindowFuncs::WindowMaximize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 将窗体最大化 </p>
<dl class="section return"><dt>返回</dt><dd>int 成功时返回SUCCESS </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="ad00b678f1534326018b697c3ab10210f" name="ad00b678f1534326018b697c3ab10210f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad00b678f1534326018b697c3ab10210f">&#9670;&#160;</a></span>WindowResize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATEC::ATDataCoreNET::StatusInt SSDPNET::WindowFuncs::WindowResize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespace_s_s_d_p_n_e_t.html#a7e0a4f5ba710a5c0aeca7bcfc1b1759f">SSDPNET::ConerKind</a>&#160;</td>
          <td class="paramname"><em>cornerNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATEC::GeometryNET::Point2d&#160;</td>
          <td class="paramname"><em>newPositionP</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 调整给点给窗体的大小 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt 成功时返回SUCCESS </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>待调整的窗体 </td></tr>
    <tr><td class="paramname">cornerNum</td><td>移动的角点 </td></tr>
    <tr><td class="paramname">newPositionP</td><td>角点在全局坐标系的新位置 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="a94b3621b55285394cd7fa1f2ef06ff3f" name="a94b3621b55285394cd7fa1f2ef06ff3f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94b3621b55285394cd7fa1f2ef06ff3f">&#9670;&#160;</a></span>WindowSetSystemCursor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATEC::ATDataCoreNET::StatusInt SSDPNET::WindowFuncs::WindowSetSystemCursor </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespace_s_s_d_p_n_e_t.html#a3aa944ae10fd232cab18a417e4aaf5af">SSDPNET::SYSTEMCURSOR</a>&#160;</td>
          <td class="paramname"><em>systemCursor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 将鼠标光标设置为SYSTEMCURSOR枚举中定义的某一系统光标 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt 成功时返回SUCCESS </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">systemCursor</td><td>系统光标 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="a00eb3187e6f5dbe99729db1e5b752ff9" name="a00eb3187e6f5dbe99729db1e5b752ff9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00eb3187e6f5dbe99729db1e5b752ff9">&#9670;&#160;</a></span>WindowShow()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATEC::ATDataCoreNET::StatusInt SSDPNET::WindowFuncs::WindowShow </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>noInitialUpdate</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 显示窗体 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt 成功时返回SUCCESS </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>待显示的窗体 </td></tr>
    <tr><td class="paramname">false</td><td></td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
<a id="ad1c82c8be63e65feb9828c578195722b" name="ad1c82c8be63e65feb9828c578195722b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1c82c8be63e65feb9828c578195722b">&#9670;&#160;</a></span>WindowToFront()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">ATEC::ATDataCoreNET::StatusInt SSDPNET::WindowFuncs::WindowToFront </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>viewNum</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Desc： 将窗体置于最前端 </p>
<dl class="section return"><dt>返回</dt><dd>ATEC::ATDataCoreNET::StatusInt 成功时返回SUCCESS </dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewNum</td><td>窗体 </td></tr>
  </table>
  </dd>
</dl>
<p>SZEWEC 2023/04/12 </p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6
</small></address>
</body>
</html>
